package com.midou.administration.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class Appointment {
    private static final long serialVersionUID = 1L;
    @TableId(value = "makeid", type = IdType.AUTO)
    private Integer makesId;

    /**
    * 预约人名字
    */
    private String makeName;

    /**
    * 手机号
    */
    private String makePhone;

    /**
    * 桌台
    */
    private Integer deskId;

    /**
    * 时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date makeDate;

    /**
     * 商家id
     */
    private Integer buId;

    private Integer deskCode;
}